{config_load file=global.conf}
{config_load file="_Tracks.conf" section="`$lang`"}
{*-----------------------------------------------------------------------------------------------*}
{literal}
<script type="text/javascript">
<!--

     function emptyFunc() {
     }

     function showStrobber() {
          xajax.$('strobber').style.display='block';
     }

     function hideStrobber() {
          xajax.$('strobber').style.display='none';
     }

     function afterBodyLoaded(){
          xajax.loadingFunction = showStrobber;
          xajax.doneLoadingFunction = hideStrobber;
     }

     addLoadEvent(afterBodyLoaded);
// -->
</script>
{/literal}
{*-----------------------------------------------------------------------------------------------*}
<link href="{#styles_dir#}/loading.css" rel="stylesheet" type="text/css">
{*-----------------------------------------------------------------------------------------------*}
{* systems *}
<div id='divArchiveSystem_container' style="padding:2">

<span id='divArchiveSystem_label'>
     Systems:
</span>

{foreach key="SystemID" name="systems" item="itemSystem" from=$SystemsAllArr}
{* separator *}
<span id='divArchiveSystem_{$itemSystem.SystemID}_separator' style='display:none'>
	 &nbsp;|&nbsp;
</span>
{* /separator *}
{* normal *}
<span id='divArchiveSystem_{$itemSystem.SystemID}_normal' style='display:none'>
     <a href='javascript:void(null);' onClick='javascript:xajax_ArchiveChangeSystem("{$itemSystem.SystemID}");'>
         {$itemSystem.Name}
     </a>
</span>
{* /normal *}
{* selected *}
<span id='divArchiveSystem_{$itemSystem.SystemID}_selected' style='color:#ffffff;background-color:#477ab1;display:none'>
     {$itemSystem.Name}
</span>
{* /selected *}
{/foreach}
</div>
{* /systems *}
{*-----------------------------------------------------------------------------------------------*}
{* pairs *}
<div id='divArchivePair_container' style="padding:2">
<span id='divArchivePair_label'>
     Pairs:
</span>
{foreach key="TradeID" name="pairs" item="itemPair" from=$PairsAllArr}
{* separator *}
<span id='divArchivePair_{$itemPair.TradeID}_separator' style='display:none'>
	 &nbsp;|&nbsp;
</span>
{* /separator *}
{* normal *}
<span id='divArchivePair_{$itemPair.TradeID}_normal' style='display:none'>
     <a href='javascript:void(null);' onClick='javascript:xajax_ArchiveChangePair("{$itemPair.TradeID}");'>
          {$itemPair.Pair}
     </a>
</span>
{* /normal *}
{* selected *}
<span id='divArchivePair_{$itemPair.TradeID}_selected' style='color:#ffffff;background-color:#477ab1;display:none'>
     {$itemPair.Pair}
</span>
{* /selected *}
{/foreach}
</div>
{* /pairs *}
{*-----------------------------------------------------------------------------------------------*}
{* years *}
<div id='divArchiveYear_container'  style="padding:2">
<span id='divArchiveYear_label'>
     Years:
</span>
{foreach key="YearID" name="years" item="itemYear" from=$YearsAllArr}
{* separator *}
<span id='divArchiveYear_{$itemYear.YearID}_separator' style='display:none'>
	 &nbsp;|&nbsp;
</span>
{* /separator *}
{* normal *}
<span id='divArchiveYear_{$itemYear.YearID}_normal' style='display:none'>
     <a href='javascript:void(null);' onClick='javascript:xajax_ArchiveChangeYear("{$itemYear.YearID}");'>
          {$itemYear.YearID}
     </a>
</span>
{* /normal *}
{* selected *}
<span id='divArchiveYear_{$itemYear.YearID}_selected' style='color:#ffffff;background-color:#477ab1;display:none'>
     {$itemYear.YearID}
</span>
{* /selected *}
{/foreach}
</div>
{* /years *}
{*-----------------------------------------------------------------------------------------------*}
{* months *}
<div id='divArchiveMonth_container'  style="padding:2">
<span id='divArchiveMonth_label'>
     Months:
</span>
{foreach key="MonthID" name="months" item="itemMonth" from=$MonthsAllArr}
{* separator *}
<span id='divArchiveMonth_{$itemMonth.MonthID}_separator' style='display:none'>
	 &nbsp;|&nbsp;
</span>
{* /separator *}
{* normal *}
<span id='divArchiveMonth_{$itemMonth.MonthID}_normal' style='display:none'>
     <a href='javascript:void(null);' onClick='javascript:xajax_ArchiveChangeMonth("{$itemMonth.MonthID}");'>
          {$itemMonth.MonthID}
     </a>
</span>
{* /normal *}
{* selected *}
<span id='divArchiveMonth_{$itemMonth.MonthID}_selected' style='color:#ffffff;background-color:#477ab1;display:none'>
     {$itemMonth.MonthID}
</span>
{* /selected *}
{/foreach}
</div>
{* /months *}
{*-----------------------------------------------------------------------------------------------*}
{* parts *}
<div id='divArchivePart_container'  style="padding:2">
<span id='divArchivePart_label'>
     Parts:
</span>
{foreach key="PartID" name="parts" item="itemPart" from=$PartsAllArr}
{* separator *}
<span id='divArchivePart_{$itemPart.PartID}_separator' style='display:none'>
	 &nbsp;|&nbsp;
</span>
{* /separator *}
{* normal *}
<span id='divArchivePart_{$itemPart.PartID}_normal' style='display:none'>
     <a href='javascript:void(null);' onClick='javascript:xajax_ArchiveChangePart("{$itemPart.PartID}");'>
          {$itemPart.PartID}
     </a>
</span>
{* /normal *}
{* selected *}
<span id='divArchivePart_{$itemPart.PartID}_selected' style='color:#ffffff;background-color:#477ab1;display:none'>
     {$itemPart.PartID}
</span>
{/foreach}
{* /selected *}
</div>
{* /parts *}
{*-----------------------------------------------------------------------------------------------*}
{* main *}
<span id="hline" >
     <hr>
</span>
{* indicator*}
<div id="strobber" style="display:none">
     <img src="{#images_dir#}/loading.gif">&nbsp;{#page__LoadingLabel#}
</div>
{* /indicator*}

<div id="divArchiveMain">&nbsp;</div>
{* /main *}
{*-----------------------------------------------------------------------------------------------*}
{literal}
<script type="text/javascript">
<!--
xajax_ArchiveChangeSystem();
//-->
</script>
{/literal}
